package priv.dajie.tzzq.bot.model;

import priv.dajie.tzzq.common.SteamPrice;

import java.math.BigDecimal;

public class PriceNum {
    protected BigDecimal price;
    protected int num;

    public PriceNum(BigDecimal price, int num) {
        this.price = price;
        this.num = num;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public BigDecimal getFeePrice(){
        return SteamPrice.feePrice(price);
    }

    public int getNum() {
        return num;
    }

    @Override
    public String toString() {
        return "PriceNum{" +
                "price=" + price +
                ", num=" + num +
                '}';
    }
}
